<?php   // $Id: activer_lot.php 86 2007-12-02 23:35:11Z pcoustillas $ ?>
<?php   

/*Copyright (C) 2003-2004 Guy Hendrickx
Licensed under the terms of the GNU  General Public License:http://www.opensource.org/licenses/gpl-license.php
File Authors:Guy Hendrickx */
require_once("include/verif.php");
require_once("include/config/common.php");
$num=isset($_GET['num'])?$_GET['num']:"";
$sql2 = "UPDATE " . $tblpref ."lot SET actif='non' WHERE num = '".$num."'";
echo $sql2;
mysql_query($sql2) OR die("<p>Erreur mysql sur activer_lot.php<br/>$sql2<br/>".mysql_error()."</p>");
require_once("lister_lot.php");
 ?> 
